part of _;

extension on ShowContentPage {
  void controller_initData() {
    yPost<dynamic>(jkid, null, (isSuccess, results, code, message) {
      if (isSuccess)
        setState(() => content = results!.first["content"]);
      else
        yShowBuilder("数据加载失败，是否重试？\n$message", () => controller_initData(), () => yFinish(), false);
    }, showProgress: false, cacheEnable: true);
  }
}
